#include <opencv2/opencv.hpp>
using namespace cv;

int main () {
	VideoCapture cap("/home/kiciot/mjc.mp4");
	if(!cap.isOpend()) {
		printf("not opened!\n");
		return -1;
	}
	
	Mat frame;
	while (true) {
		cap >> frame;
		if (frame.empty()) break;
		imshow("camera", frame);
		if (waitKey(10) == 27) break;
	}
	
	cap.release();
	des
